Linux

updated some linux compatability stuff. Implemented SyncSquare as
object.