     public var sbsprites:[BasicImage]=[]
     public var sbactions:[SKAction]=[]
     public var sbdirectory:String
-    public var earliest=Int.max
+    public var earliest = Int.max
     
     init(directory:String,osufile:String,width:Double,height:Double,layer:Double) throws {
         self.sbdirectory=directory

    
    func genaction(){
        var action:[SKAction]=[]
        if !hasFadein() {
            action.append(SKAction.customAction(withDuration: 0, actionBlock: {(node:SKNode,time:CGFloat)->Void in
                node.alpha=1
            }))
        }
        for cmd in commands {
            //cmd.sprite=self.sprite
            //debugPrint("after: \(cmd.starttime-self.starttime)")

    
    //Convert StoryBoard x and y to screen x and y
    static public func conv(x:Double) -> Double {
        return leftedge+x/stdwidth*actualwidth
    }
    
    static public func conv(y:Double) -> Double {
