1) Format your code so that we can read it. Please!
2) Use tabs for formating. NOT SPACES. Tabs creates smaller files and editors allow developers to view a tab as however many spaces as they prefer. Spaces do not allow this.
3) Use ' instead of " for strings. This is a performance issue, and prevents alot of inconsistant coding styles.
4) Comments go on the line ABOVE the code. NOT to the left of the code!
5) For each section of code put a section divider with basic explaination of the following code/functions.
Notice that when defining a class we break from the norm (putting } on same line as statement) and move the { to the next line. Dont ask me why, but this is what I/we do.